[INFO] cloning repository https://github.com/red75prime/largepage
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/red75prime/largepage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fred75prime%2Flargepage", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fred75prime%2Flargepage'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e4e048e6b5a7330e0bfcdb40476b89d3c17da988
[INFO] building red75prime/largepage against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fred75prime%2Flargepage" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/red75prime/largepage on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/red75prime/largepage
[INFO] finished tweaking git repo https://github.com/red75prime/largepage
[INFO] tweaked toml for git repo https://github.com/red75prime/largepage written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/red75prime/largepage already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 09e634c9d99eef8484fdb8693b5c79cb3bfc7242713a3991969070a49c3ec951
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "09e634c9d99eef8484fdb8693b5c79cb3bfc7242713a3991969070a49c3ec951", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "09e634c9d99eef8484fdb8693b5c79cb3bfc7242713a3991969070a49c3ec951", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "09e634c9d99eef8484fdb8693b5c79cb3bfc7242713a3991969070a49c3ec951", kill_on_drop: false }`
[INFO] [stdout] 09e634c9d99eef8484fdb8693b5c79cb3bfc7242713a3991969070a49c3ec951
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 1a8a1b38a4b980fcd81e3bc15161082fb913e6e371c9003e2a0ab11d555d2e4f
[INFO] running `Command { std: "docker" "start" "-a" "1a8a1b38a4b980fcd81e3bc15161082fb913e6e371c9003e2a0ab11d555d2e4f", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling libc v0.2.22
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling advapi32-sys v0.2.0
[INFO] [stderr]    Compiling rand v0.3.15
[INFO] [stderr]    Compiling time v0.1.37
[INFO] [stderr]    Compiling test4 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/main.rs:253:50
[INFO] [stdout]     |
[INFO] [stdout] 253 |         panic!("{} Error 0x{:08x} ", err, unsafe{GetLastError()});
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TOKEN_PRIVILEGES` in this scope
[INFO] [stdout]    --> src/main.rs:258:14
[INFO] [stdout]     |
[INFO] [stdout] 258 |         tkp: TOKEN_PRIVILEGES,
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LUID_AND_ATTRIBUTES` in this scope
[INFO] [stdout]    --> src/main.rs:259:14
[INFO] [stdout]     |
[INFO] [stdout] 259 |         laa: LUID_AND_ATTRIBUTES,
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcessToken` in this scope
[INFO] [stdout]    --> src/main.rs:277:16
[INFO] [stdout]     |
[INFO] [stdout] 277 |             if OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &mut h_token) == 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope
[INFO] [stdout]    --> src/main.rs:277:33
[INFO] [stdout]     |
[INFO] [stdout] 277 |             if OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &mut h_token) == 0 {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TOKEN_ADJUST_PRIVILEGES` in this scope
[INFO] [stdout]    --> src/main.rs:277:54
[INFO] [stdout]     |
[INFO] [stdout] 277 |             if OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &mut h_token) == 0 {
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TOKEN_QUERY` in this scope
[INFO] [stdout]    --> src/main.rs:277:80
[INFO] [stdout]     |
[INFO] [stdout] 277 |             if OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &mut h_token) == 0 {
[INFO] [stdout]     |                                                                                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LookupPrivilegeValueA` in this scope
[INFO] [stdout]    --> src/main.rs:283:16
[INFO] [stdout]     |
[INFO] [stdout] 283 |             if LookupPrivilegeValueA(0 as *const _, c.as_ptr(), &mut tkp.laa.Luid) == 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SE_PRIVILEGE_ENABLED` in this scope
[INFO] [stdout]    --> src/main.rs:287:34
[INFO] [stdout]     |
[INFO] [stdout] 287 |             tkp.laa.Attributes = SE_PRIVILEGE_ENABLED;
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustTokenPrivileges` in this scope
[INFO] [stdout]    --> src/main.rs:288:16
[INFO] [stdout]     |
[INFO] [stdout] 288 |             if AdjustTokenPrivileges(h_token, FALSE, &mut tkp.tkp, 0, 0 as *mut _, 0 as *mut _) == 0 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/main.rs:288:47
[INFO] [stdout]     |
[INFO] [stdout] 288 |             if AdjustTokenPrivileges(h_token, FALSE, &mut tkp.tkp, 0, 0 as *mut _, 0 as *mut _) == 0 {
[INFO] [stdout]     |                                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLargePageMinimum` in this scope
[INFO] [stdout]    --> src/main.rs:291:25
[INFO] [stdout]     |
[INFO] [stdout] 291 |             let lpmin = GetLargePageMinimum();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope
[INFO] [stdout]    --> src/main.rs:297:23
[INFO] [stdout]     |
[INFO] [stdout] 297 |             let ptr = VirtualAlloc(null_mut(), size, MEM_RESERVE | MEM_COMMIT | MEM_LARGE_PAGES, PAGE_READWRITE);
[INFO] [stdout]     |                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stdout]    --> src/main.rs:297:54
[INFO] [stdout]     |
[INFO] [stdout] 297 |             let ptr = VirtualAlloc(null_mut(), size, MEM_RESERVE | MEM_COMMIT | MEM_LARGE_PAGES, PAGE_READWRITE);
[INFO] [stdout]     |                                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]    --> src/main.rs:297:68
[INFO] [stdout]     |
[INFO] [stdout] 297 |             let ptr = VirtualAlloc(null_mut(), size, MEM_RESERVE | MEM_COMMIT | MEM_LARGE_PAGES, PAGE_READWRITE);
[INFO] [stdout]     |                                                                    ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_LARGE_PAGES` in this scope
[INFO] [stdout]    --> src/main.rs:297:81
[INFO] [stdout]     |
[INFO] [stdout] 297 |             let ptr = VirtualAlloc(null_mut(), size, MEM_RESERVE | MEM_COMMIT | MEM_LARGE_PAGES, PAGE_READWRITE);
[INFO] [stdout]     |                                                                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope
[INFO] [stdout]    --> src/main.rs:297:98
[INFO] [stdout]     |
[INFO] [stdout] 297 |             let ptr = VirtualAlloc(null_mut(), size, MEM_RESERVE | MEM_COMMIT | MEM_LARGE_PAGES, PAGE_READWRITE);
[INFO] [stdout]     |                                                                                                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFree` in this scope
[INFO] [stdout]    --> src/main.rs:330:20
[INFO] [stdout]     |
[INFO] [stdout] 330 |                 if VirtualFree(s.base as *mut _, 0, MEM_RELEASE) == 0 {
[INFO] [stdout]     |                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope
[INFO] [stdout]    --> src/main.rs:330:53
[INFO] [stdout]     |
[INFO] [stdout] 330 |                 if VirtualFree(s.base as *mut _, 0, MEM_RELEASE) == 0 {
[INFO] [stdout]     |                                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `advapi32::*`
[INFO] [stdout]    --> src/main.rs:246:9
[INFO] [stdout]     |
[INFO] [stdout] 246 |     use advapi32::*;
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `winapi::*`
[INFO] [stdout]    --> src/main.rs:247:9
[INFO] [stdout]     |
[INFO] [stdout] 247 |     use winapi::*;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `kernel32::*`
[INFO] [stdout]    --> src/main.rs:248:9
[INFO] [stdout]     |
[INFO] [stdout] 248 |     use kernel32::*;
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type annotations needed
[INFO] [stdout]    --> src/main.rs:322:35
[INFO] [stdout]     |
[INFO] [stdout] 322 |             (next_addr as *mut _).as_mut().unwrap()
[INFO] [stdout]     |                                   ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(tyvar_behind_raw_pointer)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[INFO] [stdout]     = note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 19 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `test4`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "1a8a1b38a4b980fcd81e3bc15161082fb913e6e371c9003e2a0ab11d555d2e4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a8a1b38a4b980fcd81e3bc15161082fb913e6e371c9003e2a0ab11d555d2e4f", kill_on_drop: false }`
[INFO] [stdout] 1a8a1b38a4b980fcd81e3bc15161082fb913e6e371c9003e2a0ab11d555d2e4f
